package com.quyeying.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quyeying.entity.TblMerchantEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商户表 Mapper 接口
 * </p>
 *
 * @author skx
 * @since 2022-12-12
 */
public interface TblMerchantDao extends BaseMapper<TblMerchantEntity> {

    IPage<Map<String,Object>> findListPageSearch(Page<Object> objectPage, String search);

    TblMerchantEntity getByMerchantId(Long merchantId);
}
